package com.hooper.iot.entity;

import java.util.List;

/**
 * @ Copyright
 * @ Author     ：wangcheng.
 * @ Date       ：Created in 9:30 2022/4/25
 * @ Description：
 * @ Modified By：
 * @Version: $
 */
public class DelFaceEntity {
    private String msgId;
    private Long msgDate = System.currentTimeMillis();
    private String deviceId;
    private String msgType;
    private boolean callBack;
    private List<Body> body;

    public String getMsgId() {
        return this.msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public Long getMsgDate() {
        return this.msgDate;
    }

    public void setMsgDate(long msgDate) {
        this.msgDate = msgDate;
    }

    public String getDeviceId() {
        return this.deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getMsgType() {
        return this.msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public boolean getCallBack() {
        return this.callBack;
    }

    public void setCallBack(boolean callBack) {
        this.callBack = callBack;
    }

    public List<Body> getBody() {
        return this.body;
    }

    public void setBody(List<Body> body) {
        this.body = body;
    }

    @Override
    public String toString() {
        return "DelFaceEntity{" +
                "msgId='" + msgId + '\'' +
                ", msgDate=" + msgDate +
                ", deviceId='" + deviceId + '\'' +
                ", msgType='" + msgType + '\'' +
                ", callBack=" + callBack +
                ", body=" + body +
                '}';
    }

    public class Body {
        private String personId;
        private String identityNo;

        public String getPersonId() {
            return this.personId;
        }

        public void setPersonId(String personId) {
            this.personId = personId;
        }

        public String getIdentityNo() {
            return this.identityNo;
        }

        public void setIdentityNo(String identityNo) {
            this.identityNo = identityNo;
        }

        @Override
        public String toString() {
            return "Body{" +
                    "personId='" + personId + '\'' +
                    ", identityNo='" + identityNo + '\'' +
                    '}';
        }
    }
}
